package inventory.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author sxt
 * @since 2019-12-08
 */
public class ManagerPermissionRecord extends Model<ManagerPermissionRecord> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "manager_perm_rec_id", type = IdType.UUID)
    private String managerPermRecId;
    private String managerId;
    private Integer permissionListId;


    public String getManagerPermRecId() {
        return managerPermRecId;
    }

    public void setManagerPermRecId(String managerPermRecId) {
        this.managerPermRecId = managerPermRecId;
    }

    public String getManagerId() {
        return managerId;
    }

    public void setManagerId(String managerId) {
        this.managerId = managerId;
    }

    public Integer getPermissionListId() {
        return permissionListId;
    }

    public void setPermissionListId(Integer permissionListId) {
        this.permissionListId = permissionListId;
    }

    @Override
    protected Serializable pkVal() {
        return this.managerPermRecId;
    }

    @Override
    public String toString() {
        return "ManagerPermissionRecord{" +
        ", managerPermRecId=" + managerPermRecId +
        ", managerId=" + managerId +
        ", permissionListId=" + permissionListId +
        "}";
    }
}
